package cn.wsalix.admin.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.ParentRepository;
import cn.wsalix.admin.entity.SysDict;

public interface DictRepository extends ParentRepository<SysDict> {

	@Query("select u from SysDict u where u.code = :code")
	public List<SysDict> findByCode(@Param("code") String code);

}
